package com.duoqin.payservice.data;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class ExpenseSummaryResponse {

    /**
     * code : 0
     * msg : 成功
     * data : [{"date":"2018-10","textFee":0.01,"voiceCount":10,"voiceFee":-9.62,"textCount":3},{"date":"2018-9","textFee":0,"voiceCount":0,"voiceFee":0,"textCount":0},{"date":"2018-8","textFee":0,"voiceCount":0,"voiceFee":0,"textCount":0},{"date":"2018-7","textFee":0,"voiceCount":0,"voiceFee":0,"textCount":0},{"date":"2018-6","textFee":0,"voiceCount":0,"voiceFee":0,"textCount":0},{"date":"2018-5","textFee":0,"voiceCount":0,"voiceFee":0,"textCount":0}]
     */

    @SerializedName("code")
    private int code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * date : 2018-10
         * textFee : 0.01
         * voiceCount : 10
         * voiceFee : -9.62
         * textCount : 3
         */

        @SerializedName("date")
        private String date;
        @SerializedName("textFee")
        private double textFee;
        @SerializedName("voiceCount")
        private int voiceCount;
        @SerializedName("voiceFee")
        private double voiceFee;
        @SerializedName("textCount")
        private int textCount;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public double getTextFee() {
            return textFee;
        }

        public void setTextFee(double textFee) {
            this.textFee = textFee;
        }

        public int getVoiceCount() {
            return voiceCount;
        }

        public void setVoiceCount(int voiceCount) {
            this.voiceCount = voiceCount;
        }

        public double getVoiceFee() {
            return voiceFee;
        }

        public void setVoiceFee(double voiceFee) {
            this.voiceFee = voiceFee;
        }

        public int getTextCount() {
            return textCount;
        }

        public void setTextCount(int textCount) {
            this.textCount = textCount;
        }
    }
}
